projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2742c39
)
Avoid C99'ismin gpsutil.c
author
robertl
<robertl>
Sat, 2 Sep 2006 23:19:03 +0000
(23:19 +0000)
committer
robertl
<robertl>
Sat, 2 Sep 2006 23:19:03 +0000
(23:19 +0000)
gpsutil.c
patch
|
blob
|
history
diff --git
a/gpsutil.c
b/gpsutil.c
index ee28e6cf40ac054931cea4e4b6fc11b4187ec2d3..7f2c9ae8905e4eb78ccfb7067b5f2e145def9d33 100644
(file)
--- a/
gpsutil.c
+++ b/
gpsutil.c
@@
-64,13
+64,13
@@
data_read(void)
char alttype;
char icon[3];
waypoint *wpt_tmp;
- icon[0] = 0;
/*
* Make sure that all waypoints in single read have same
* timestamp.
*/
time_t now = current_time();
+ icon[0] = 0;
while ((ibuf = gbfgetstr(file_in))) {
int n, len;